package com.gla.giliair.service;

import com.gla.giliair.entity.StaticSeat;
import com.gla.giliair.entity.StaticSeatExample;

import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @Author: Yingtian qian
 * @Date: 2021/8/28 16:18
 */
public interface StaticSeatService {
    StaticSeat selectStaticSeatById(Long staticSeatId);

    List<StaticSeat> selectStaticSeatsByPlanemodelId(Long planemodelId);

    List<StaticSeat> selectStaticSeatsByPlanemodelIdAndSeatType(Long planemodelId, Integer seatType);

    List<StaticSeat> selectAllStaticSeats(StaticSeatExample orderBy);

    Map<String, Object> findAllStaticSeats(String sort, boolean isASC, Integer page, Integer pageSize);

    Map<String, Object> findStaticSeatsByPlanemodelId(Long planemodelId, Integer page, Integer pageSize);

    Map<String, Object> addStaticSeats(Long planemodelId, Integer seatType, Integer[] numPerRow, Integer rowNum);

    Map<String, Object> deleteStaticSeat(Long staticSeatId);
}
